package com.caidan.security.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.caidan.security.domain.entity.UmsSysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UmsSysUserMapper extends BaseMapper<UmsSysUser> {


    @Select("select * from demo.ums_sys_user where username = #{username}")
    UmsSysUser queryByUserName(String username);
}
